<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'danhmucsanpham-form',
	'enableAjaxValidation'=>false,
)); ?>

	<div class="row">
		<label>Loại sản phẩm</label>
		<?php echo $form->dropDownList($model,'LoaiSP_Id', loaisanpham::model()->get_combobox(), array('class'=>'small-input')); ?>
		<?php echo $form->error($model,'LoaiSP_Id', array('class'=>'input-notification error png_bg')); ?>
	</div><br />

	<div class="row">
		<label>Tên danh mục sản phẩm</label>
		<?php echo $form->textField($model,'TenDanhMucSP',array('size'=>60,'maxlength'=>200,'class'=>'text-input small-input')); ?>
		<?php echo $form->error($model,'TenDanhMucSP', array('class'=>'input-notification error png_bg')); ?>
	</div><br />

	<div class="row">
		<label>Mô tả</label>
		<?php echo $form->textArea($model,'MoTa',array('rows'=>6, 'cols'=>50, 'class'=>'text-input textarea wysiwyg')); ?>
		<?php echo $form->error($model,'MoTa', array('class'=>'input-notification error png_bg')); ?>
	</div><br />

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '  Tạo mới  ' : '  Cập nhật  ', array('class'=>'button')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->